//
//  ViewController.h
//  Web Browser
//
//  Created by iD Student on 7/11/13.
//  Copyright (c) 2013 Apple Inc. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ViewController : UIViewController<UISearchBarDelegate, UITextFieldDelegate, UIWebViewDelegate, UIAlertViewDelegate> {
    
    
    IBOutlet UIActivityIndicatorView *activity;
    IBOutlet UIWebView *wWw;
    
    NSTimer *timer;
}

-(void)timerLoad; 

@property(nonatomic, retain) IBOutlet UIWebView *webView;

@property (retain, nonatomic) IBOutlet UIBarButtonItem *buttonBack;

@property (retain, nonatomic) IBOutlet UIBarButtonItem *buttonForward;

@property(nonatomic,retain) IBOutlet UITextField *addressBar;

@property (retain, nonatomic) IBOutlet UISearchBar *searchField;

@property (retain, nonatomic) IBOutlet UIBarButtonItem *homeButton;

- (IBAction)searchInGoogle:(id)sender;

- (IBAction)homeButton:(id)sender;


-(IBAction)goBack: (id)sender;
-(IBAction)goForward: (id)sender;
-(IBAction)goAddress: (id)sender;
-(IBAction)refreshClicks:(id)sender;
